﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SevenDragon
{
    public class UserBase
    {
        private int id;

        public int Id
        {
            get { return id; }
            set { id = value; }
        }
        private string name;

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public UserBase(int inId, string inName)
        {
            this.id = inId;
            this.name = inName;
        }

        public UserBase(string inId, string inName)
        {
            this.id = Convert.ToInt32(inId);
            this.name = inName;
        }
    }
}
